} else {
if ($this->reConnectTimes < 4 && $this->isBreak($e)) {
$this->reConnectTimes++;
return $this->close()->getPDOStatement($sql, $bind, $master, $procedure);
}
}
if ($e instanceof \PDOException) {
throw new PDOException($e, $this->config, $this->getLastsql());
} else {
throw $e;
}
}
}
/**
* 执行语句.
*
SQLSTATE | HY000 |
Driver Error Code | 2002 |
Driver Error Message | Connection refused |
Error Code | 10501 |
Error Message | SQLSTATE[HY000] [2002] Connection refused |
Error SQL |
type | mysql |
hostname | 127.0.0.1 |
database | 16757com |
hostport | 3306 |
dsn | |
params | [] |
charset | utf8 |
prefix | wdphp_ |
deploy | 0 |
rw_separate | false |
master_num | 1 |
slave_no | |
read_master | false |
fields_strict | true |
fields_cache | true |
trigger_sql | true |
builder | |
query | |
break_reconnect | false |
break_match_str | [] |
auto_param_bind | true |
schema_cache_path | /www/wwwroot/www.16757.com/runtime/schema/ |
USER | www |
HOME | /home/www |
HTTP_X_FORWARDED_PROTO | https |
HTTP_X_REAL_IP | 47.243.58.43 |
HTTP_CONNECTION | close |
HTTP_X_FORWARDED_FOR | 220.181.57.216,47.243.58.43 |
HTTP_CLIENT_IP | 220.181.57.216 |
HTTP_REFERER | http://www.baidu.com/search/spider.html |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html) |
PATH_INFO | |
HTTP_HOST | www.16757.com |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.16757.com |
SERVER_PORT | 443 |
SERVER_ADDR | 103.26.78.158 |
REMOTE_PORT | 41128 |
REMOTE_ADDR | 111.173.80.27 |
SERVER_SOFTWARE | nginx/1.27.1 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/www.16757.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | //so/%E4%BA%A4%E5%A4%A7%E5%AE%B6%E6%95%99%20%E4%B8%8A%E6%B5%B7%E4%BA%A4%E9%80%9A%E5%A4%A7%E5%AD%A6%E5%AE%B6%E6%95%99%20.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/so/%E4%BA%A4%E5%A4%A7%E5%AE%B6%E6%95%99%20%E4%B8%8A%E6%B5%B7%E4%BA%A4%E9%80%9A%E5%A4%A7%E5%AD%A6%E5%AE%B6%E6%95%99%20.html |
SCRIPT_FILENAME | /www/wwwroot/www.16757.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1731104871.4414 |
REQUEST_TIME | 1731104871 |